public class Person {
    String name;
    String sex;
    int age;
    public Person(String name,String sex,int age){
        this.name = name;
        this.age = age;
        this.sex = sex;
    }
    public void print(){
        System.out.println(name+";"+sex+";"+age);
    }
}
